/*
 * Peer.h
 *
 *  Created on: 05/09/2011
 *      Author: george
 */

#ifndef PEER_H_
#define PEER_H_

#include "host.h"
#include "adjacencia.h"
#include "session.h"

class Peer : public Host {

public:
	Peer();
	Peer(in_addr addr);
	Peer(in_addr addr, Session *session);
	~Peer();


	bool operator> (const Peer &rhs) const;
	bool operator< (const Peer &rhs) const;
	bool operator==(const Peer &rhs) const;
	bool operator!=(const Peer &rhs) const;

	Session *session;
};

#endif /* PEER_H_ */
